package com.zyx.mapper;

import com.zyx.entity.Member;
import com.zyx.vo.MemberVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MemberMapper {
    List<Member> queryAll();

    @Select("select id,name,ufile from t_student")
    List<MemberVo> showAll();

    @Select("select ufile from t_student")
    List<String> queryAllNames();
}
